﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PacketPasser
{
    public interface IProcessPackets
    {
        /// <summary>
        /// Takes a packet (optionally  copying, transforming, or consuming)
        /// </summary>
        /// <param name="packet"></param>
        /// <returns>null if the packet was consumed, otherwise the packet itself, or a transformed packet</returns>
        byte[] VisitPacket(byte[] packet);

    }
}
